roll back - aggregate_groups_by_iter