fixed tree rotations