equal mass and density are placed in contact