Integration of lifetime-balancing schemes in wireless sensor networks