Changed unique numbers into the form of mi or vj.