Choosing piston

Got this reply and I understand it except how is deck height after milling determined without pistons? I've seen technical ways but do they actually do it?
Use a long enough gauge and a reference in the mains.... BLOCK DECK HEIGHT GAUGE | eBay

But as said..... other items will very probably need adjusting/swapping-around along the way to get a tight tolerance of piston-to-deck height.