Looking for network functionalities' extension by avoiding energy-compromised hotspots in wireless sensor networks