A little optimization of bam indexer