Am I correct to understand that you are rewriting sequential invocations of `aggregate` to 

Without some sort of a cost model, I have a lot of doubts about the assumption that this will actually increase performance. I would say that this depends heavily on the size of the collection, no?