I don't know whether this will be helpful to you or not. Instead of merging the two indices you can use row echelon method and try to reduce it to two indices. Otherwise while merging you may loose some of its characteristic feature if there are some.