previous change return type from set to list of generate_kmer cause bug