int dx/sqrt(8