merging AB and AB_mass