Fix the fucked up iteration prediction when using many threads.