public function calculateScenarioWidth(Scenario $scenario, $indentation, $subIndentation)
    {
        $length = $this->calculateScenarioHeaderWidth($scenario, $indentation);

        foreach ($scenario->getSteps() as $step) {
            $stepLength = $this->calculateStepWidth($step, $indentation + $subIndentation);
            $length = max($length, $stepLength);
        }

        return $length;
    }