Update compress.cpp