Trying to get the same iteration counts as some old code.
I don't know why my new code has higher iteration counts...