Loop should not be nailed to generation.
Merge pull request #89 from Dmitry-Me/decoupleloopfromgeneration

Loop should not be nailed to generation.