HashMap capacity is calculated exactly to the needed value when creating
it. This results good performance due to avoid of space allocation in
HashMap.