A filter for smoothing of fluctuations