Modified memory allocation to allow for the size of genomes and larger numbers