Fixed intSqrt