All the possible reactions arising from the input file system were split into different reaction types, and thus individual single-step reactions. These individual reactions were then queried as a batch for a single primary reaction step. We noted all but the major product as the impurities from the different reactions, and aggregated them in the summary format, and enumerated them as individual reactions for the enlisted format.