preparation to average in time only the selected range