Upgrading stock 1971 318 heads

I am upgrading stock 318 heads I have an ld4b intake mild rv cam 600 cam carb and will be adding 340 manifolds. Picking up a pair of redone 302 heads hoping to gain some more comp and power.

My question is shaving 40 thousands will not effect the intake side but we're would my comp ratio be at? I have basic flat top pistons the block is a 1971. Also the exhaust ports will match the 340 manifolds that I have?

After doing some reading I know you can add bigger valves to gain more horsepower around 50hp and keeping them stock size will be around 20 gain bolt on which is fine with me the heads redone costs 300 for the pair. Milling the head would wouldn't be too expense.
Just drop a slant in it