Rebuilding the dist index