remove Canonical mechanism related codes.
perform conversion ratio computation in Rational in order to reduce the numerical error.