Add check for size of uncompressed data.