Rewrite indices to allow for Sigma construction.