Azimuthal forces and method of their reduction in imperfect winding of quasi-force-free magnets