Linear time reduction of large kinetic mechanisms with directed relation graph: n-Heptane and iso-octane