Ticking in the valve train

Did you check valve to piston clearance? I built a 340 that was similar. I used the pistons that were in it and heads that were on it. I put a new cam in it and had issues with valves hitting the top of the pistons.