update bam index validation
add code for inserting the vector length after producing the vector in ImpCacheLineRank external context class
improve bam indexing (fix linear index component)