Use Trie to organize reco D types