iterator for avl dict