Added tree rotations