private function estimateRange(EloPlayerInterface $player)
    {
        $baseRange = new ArrayCollection($this->configuration->getBaseRange());
        $keys = array_keys($this->configuration->getBaseRange());
        $estimatedRange = $baseRange->first();

        $i = 0;
        foreach ($baseRange as $eloMin => $range) {
            if (!isset($keys[$i +1]) && $player->getElo() > $baseRange->last()) {
                $estimatedRange = $baseRange->last();
                break;
            }

            if ($player->getElo() >= $eloMin && isset($keys[$i +1]) && $player->getElo() <= $keys[$i +1]) {
                $estimatedRange = $range;
                break;
            }

            $i++;
        }

        return $estimatedRange;
    }