internal decays and the definition of tracked hadrons
It is not really necessary to limit the hadrons that are tracked by corsika and force the (interaction) processes to decay all particles internally to the set of tracked hadrons. Even very short lived particles could be put on the stack. To skip the tracking (slow?) there could be a secondaryView that looks for shortlived particles and has them decayed immediately. This could actually decrease the stack size since the number of particles added by the interaction is smaller and after each decay the ParticleCut is likely to remove some.