restores taking into account loading segments when calculating a number of segments to schedule