Head gasket thickness is dictated by block deck height and if the cylinder head has a squish or quench pad then piston to cylinder head Clearence, type of con rod also has to be allowed for and max engine rpm too, combustion chamber volume and piston dish ( convex or concave) has more to do with compression ratio than h/g thickness to a point.
Gtir Motorsport club