Extract the iterator logic outside Round class.