Ultrahigh-energy heavy nuclei propagation in extragalactic magnetic fields