Closed geodesics and the best embedding of a torus