A solid cube with an edge length of 6 centimeters is carved out to form a cylinder with the same height as the edge length of the cube. If the cylinder is perfectly inscribed within the cube, what is the volume of the material that was carved out in cubic centimeters? Let's think step by step and output the final answer within \boxed{}.
user