Sequential Compression and decompression