Inlet and exhaust manifold flange thickness