Scheduling algorithm without testing