Recursive aggregation.