Add official uncompress code. The second decoding code without index table has bugs.