use improved decompression code from rcxdude