Enhanced squareRoot