determine the mass of the container.