switched to zlib with faster read