protected function positions($value)
    {
        mt_srand(crc32($value));
        $positions = new SplFixedArray($this->k);
        for ($i = 0; $i < $this->k; $i++) {
            $positions[$i] = mt_rand(1, $this->m);
        }
        return $positions;
    }