sign smoothing