trees: cleanup binary tree