fix for no nanoflann