Compact and cache friendly trie