Added logic to handle the special case of ioTime = 0 and cpuTime % 2 != 0