smaller smoothing function