max interval having max mean number of steps