Unified equation of state for the outer and inner crusts of magnetars. (May 2020)