replaced indented agg tree