But that’s just the cost of the wafers. 7nm vs 5nm has roughly a 45-50% density improvement so the same design on 5nm vs 7nm will require far fewer wafers (assuming similar yields) in addition to benefits in power consumption allowing cheaper cooling. It’s a pretty complex design and optimization puzzle.