Convert index2 to new index