generation of max genome and min genome