Refactor parsing of uncompressed chunk