Zlib decompression is now safe, but ugly and heavy