add spectral smoothing