Using magnetic field pulses with a slow sweep rate to produce uniform current distribution in multifilamentary superconducting wire