I think KDTree nearest neighbour might be working