rollup algorithm comparison