making gen 40 times faster at default parameters
Merge pull request #2 from sikroz/master

making gen 40 times faster at default parameters