Fix chunk array inconsistency, indices now ordered XYZ