finished trie with visitors, without testing