Added a bitwise shift to update_kmer