rotate fixed in building_trees with parent support