store the trie in the global context