TEM turbulence optimisation in stellarators