On the Dimension of Product Spaces