Sketch of decompression, but not working yet