Only runs 40 Degrees advanced

was the compression test good ?if so cam is not twisted you would have different reading because of late valve opening events. run a leak down test on engine to check for slightly bent valves. I DID PULL A FERD ENGINE THAT HAD A MISS ON LAST 2 CYLINDERS THE CAM SNAPED BUT RAN JUST FINE.
I thought about that but if it was snapped it wouldn’t be driving the distributor and I did a compression check and they were all good I had 155 on seven of them and 160 on one