Trie routing