implement OrderedMap for SmallIntMap