Computed interval for maximum average number of steps. Fixed a round error when computing times from 5 min intervals.