Preparation for Laplacian smoothing