fixes calculations of a number of segments to schedule for PendingRequestsRule
fixes calculations of a number of segments to schedule for BufferLevelRule