Marginal cost initially decreases because an output increases and more workers are hired. They can specialise increasing productivity and decreasing marginal cost. But magical costs will then increase because diminishing marginal returns will decrease productivity, increasing marginal cost.