trees: cleanup balanced from sorted
trees: cleanup preorder traversal non-recursive