topN and tolerate error version