Quick fix. Tol needs to be set from caller