change zlib compression strategy