Long-run costs and economies of scale
In the long run every input can change, so every cost is variable; long-run average cost falls with economies of scale, is flat with constant returns and rises with diseconomies, and the minimum efficient scale helps set how many firms a market holds.
From AP Microeconomics.