Efficient Frameworks For Lifetime Maximization In Tree Based Sensor Networks