Congestion control and energy-balanced scheme based on the hierarchy