Fixes bug when generating SA index for large genomes