Use of the stellarator expansion to investigate plasma equilibrium in stellarators