To study fluctuations in composition, samples of pumice were taken from locations and cut in the shape of a cube. The length of the edge of one of these cubes is centimeters. This cube has a density of grams per cubic centimeter. What is the mass of this cube, in grams?