Natasha packs a single layer of a prism with 5 cubes. Each cube measures 1 centimeter long on each edge. If 5 layers completely fill the prism, what is the volume of the prism?