waiting time for preemptive algorithms corrected