LZW  Decompress refactored