switch to std^2