Check that LowDimNearestNeighbors is installed before extending the nearest method to treaps