318 into a 340

318 block will only bore to 4.00'' if you sonic check it. And 318 poly heads have a square valve cover with two studs in center of valve cover to hold it on.