one palloc to shortcut aggrageate