Improve perfomance of Aho-corasick by chaning goTo structure