Allow adjusting of averaging time window