On the optimization of mitred overlaps in transformer cores