buil_mass_cont_boundary