https://github.com/claudemartin/smallset/