Same as in getDoneIterations.