Optimization of the magnetic shield of a levitation melting device