Completed without interrupts and time slice finding algo