Assessment of the electromagnetic inversion with the multiscaling inexact-Newton method