A power Allocation Algorithm for Throughput Maximization in Mobile Networks