fix: add EnsureCapacity
for dictionary types
#361
Merged
EnsureCapacity
for dictionary types
#361