add aho-corasick algorithm