handle mesh smoothing