Implement min_dist_surface for piecewise surfaces with no initial guess.