Range queries on d-dimensional space -- possibly extending to Monte-Carlo-related cleverness