Title: Optimisation of Hysteretic Losses in High-temperature Superconducting Wires