I have reordered PACKED before PLANAR in the all_packing_formats() function so that PACKED is preferred