Add add_block_sums() kernel that adds the preceding blocks' sums to the entire sum scan.