aggregate query processing in wireless sensor network