Deforming the cross section or shape of the winding material while winding