Cylinder head discussion 340 with stock above deck pistons

I think the books says for OE stuff .017-.018. But that was using an .028 gasket or something close to that.

On my engine the piston is out of the deck .054 IIRC. But I'm running 12:1 and that gives me .040 quench with an .041 gasket. Or .039. I forget what they are.

The Chrysler book outlined how far the piston should be out of the hole for compression and quench. IMO you can go out as far as you need to for quench as long as the top ring is not popping out of the bore.
Your math does not add up.