Energy aware multilevel clustering protocol for WSNs and future sensor based systems