update convert_kmer_to_index for brevity and clarity