changed percent threshold  and the results are almost right