Methane formation route in the conversion of methanol to hydrocarbons