Convert map/reduce to aggregate/combine.