Leg length shims are used to increase the effective leg length on a shorter leg in cases where a cyclist suffers from a leg length discrepancy. Signs of a discrepancy can be:
overreaching on one side at the bottom of the pedal stroke
pelvis tilted or rider leaning to one side of the saddle in order to retain connection with the pedals th