Computing low dimensional invariant manifolds of reaction mechanism using genetic algorithms