Formula to shave pistons to reduce compression ??

Dynamic, or effective comp ratio, yes. But the actual static compression has nothing to do with cam timing.
Not cam timing cam specs....................lobe overlap can effect compression.