Resource allocation in hierarchical cellular systems