Added a case to deal with the isomorphism of D1 and S^1 in rootSystem