I think it will be fine here. Because we don't want to parse the kmer into string and then compare each char. we can directly get gene character in Kmer.