An update to the algorithm used to compute the indices.
A small tweak to the algorithm used to calculate the indices.