#15: Added a maxgeneration size limit

Using it for initial test runs