smaller memory consumption by discarding tolerated pairs