Preaggregation Functions: Construction and an Application | Synapse