Add immutability after first build of Trie; remove BaseTrie