How far are ternary words from shuffle squares?