Shaping or compacting conductors in slots or around salient poles