invert smoothing