record iterCount in population generation.