use Trie.size() to determine initial array size.
add constructor which constructs trie from another trie.
add freeze method to Trie.
affected from constructor change.
add MapPatriciaTrieTest.
measure heap usage using MXBean.