scheduler: Use precomputed time slice lengths