should be `tree.iter()`