Clean up tree