add HybridTrie::balance
add conversion functions