Improved chunk parsing in An8 format