Intranuclear cascading at ultrahigh energy in heavy-ion interactions