Analysis of optimal lambda_th based upon the fraction of halos