Added rollup support to signal aggregation
Modified behaviour to trigger aggregation only each N elements, where N is the bucket capacity