Introduce a SmallDenseMap container that re-uses the existing DenseMap