tree iterations