Why are 318's low HP and torque?

I am rebuilding a 73 340 to put in my 1970 Duster have all the original 73 parts heads and Thermo Quad carb but also have a set of 302 heads I was thinking of putting on it would they be better or should I stick with the stock heads and what about cams any recommendations want it to remain a driver but one with some juice