add msb to pkgs_priority