scaffold trie traverse iterator