[trie] rewrote the summary part