first setup for the Aho-Corasick algorithm