Scale packet id datatype by packet registry size