adjusted num generations and write freq