Cache the InversePitch instead of computing it each time.