private function buildSize(string $size, array $definition, array $sizes): void
    {
        foreach ($definition as $columnDefinition) {
            $column = $this->buildColumn($columnDefinition, $size, $sizes);

            $this->grid->addColumn($column, $size);
        }
    }