Fix bucket creation in new HashSet

Due to the flawed bucket creation logic new HashSet could contain buckets with 1 element which breaks the HashSet iterator assumptions