A Distributed Hierarchical Energy-Efficient Scheme