for improving the magnetic domain structure or avoiding the formation or displacement of undesirable magnetic domains