Formula to shave pistons to reduce compression ??

Use a compression calculator where you can vary parameters to attain the compression you want. I like the one on the Diamond piston site. Covers just about everything!!