01P-g-packing