improves rules for calculation the number of required for scheduling segments