decompression routine