forgot to make window of smoothing configurable. fix minor macro