The 340 ports are larger than the 318 ports..so think about it, you have a big hole matching up with a smaller hole, what happens at high flow-high rpms, air flows fast but hits the ridge of the smaller 318 ports.
Yes best thing is to pull the heads off and open up the outside of the ports but a small port intake works good too, maybe better if the motor isn't built for 6,000+ rpms.