trimming with optimal hash table to get 80% fpr