A Data Access Structure for Filtering Distance Queries in Image Retrieval