Reaction path synthesis methodology for waste minimization