Estimating non-perfect squares