Depth attribute added to trie iterators