compute_closest_points sketch.