A rectangular prism 6cm by 3cm by 3cm is made up by stacking 1cm by 1cm by 1cm cubes. How many rectangular prism, including cubes, are there whose vertices are vertices of the cube, and whose edges are parallel to the edges of the original rectangular prism? (rectangular prisms with the same dimensions but in different position are different).

