Only decompress if needed