Compression before transfer