A stator assembly includes a plurality of stator slots having multiple respective slot layers and a plurality of hairpins. The plurality of hairpins have a respective first leg positioned in one of the multiple respective slot layers and a respective second leg positioned in another of the multiple respective slot layers. A first set of n adjacent slots of the plurality of stator slots is configured to accommodate the plurality of hairpins carrying a current in a first phase, n being an integer. The plurality of hairpins is configured in respective conductor layers (L1, L2 . . . ) having a plurality of respective turn locations defining n respective turn positions. The plurality of hairpins is configured to occupy the n respective turn positions an equal number of times such that the respective conductor layers (L1, L2 . . . ) are electrically balanced.