When swapping parts, mainly internal, did you make sure that all were exactly the same? If you used the old cam, but changed the crank, was the rod journal in the same location? Used new crank, but old flywheel, was the flywheel key location in the exact same place? Were the cam lobes in the same place? If any of these are off by a degree it will create problems, especially if more than one is different. Can’t tell this by eyesight, but must compare engine model and type numbers, then if the part numbers are the same, even pistons and rings should be checked.