We supplement the Heavy Ion Jet Interaction Generator (hijing) code with a collective cascade recipe and updated Martin-Stirling-Thorne-Watt (MSTW2009) parton distribution functions (PDFs) to describe nonsingle diffractive (NSD) p+p and Pb collisions at CERN Large Hadron Collider energies. The collective cascade, developed in the space of an impact parameter, is used to induce nuclear modification of nucleons, that are involved in primary interactions, inside the dense nuclear medium. It is found that the improved hijing (Imhijing) code (that with MSTW2009 PDFs) reproduces rather well the pseudorapidity density, the multiplicity, and the transverse momentum distributions of charged particles within the pseudorapidity interval |ηc.m.system| |