Implement SmallIntSet

Implement SmallIntSet (refer #4984)