aggregate query processing in sensor networks