silly trie, too many string copies