The manifold smoothing problem