merge prefactors