add a fast OrderedSet (with maxlen) data structure