Fast enumeration for CCFiniteIndexedObjectGenerator. Integer overflow protection. Tests for enumeration including overflow.