retrieving via kdtree