Trees: Non-recursive traversal.