Text this: Topology restoration algorithm for heterogeneous sensor networks based on connected dominating tree