Same improvements to the zlib transform operations.