Fix leak memory bug for non taking into account reaction,
and kinetics model changes