ClosestPoints problem