Solved problems balancing brackets and tree reparenting