find closest porints in 2D