Scalable multi-dimensional range queries and routing in data-centric sensor networks