Add aggregation on cpu