refactor compress method a bit
refactor decompress a bit