Added a bit of effeciency. Can now do two generations/s on my machine