Compress each block.