Adjusts index calculation.