Development of magnetic shear