set number of generation to be calculated by reasonable length
simplifies lSys.getLine
replaced oo with functional