Electromagnet strength and distance