Introduce aggregation step for planning