new version of the sqrtGoodEnough (from Chase)