Remove elements out of relevance range and update the max relevance.
Only filter once the map exceeds this many entries.
How many of the most-recent relevance values to keep.
Remove elements out of relevance range and update the max relevance.