Using cumulative_index when < sample_size for rolling_average