Add batched merge (rollup) feature