speedup in cqt aggregation