Convert the unit of simulation length from N generation to generation in
Config
share a lot of code between the infinite-alleles and -sites models