private function distribute($generator)
{
$countOf = [];
for ($i = 0; $i < 1000; $i++) {
$value = $generator($this->size, $this->rand)->unbox();
if (array_key_exists($value, $countOf)) {
$countOf[$value] += 1;
} else {
$countOf[$value] = 1;
}
}
return $countOf;
}