modified did uncompression under linux