Using Spatial Data Access Structures for Filtering Nearest Neighbor Queries