Multi-scale communication using cross layer wireless sensor network architecture for power optimization