The piston speed vs. fuel igniting lag time is an important dynamic for spark advance. Fuel takes time to ignite, then explode. As the piston speed increases (aka RPM increase) the timing of the IGNITING Spark needs to occur when piston is further away from TDC.

dave w