reduce memory allocation in fasta indexing