Collapsing Riemannian manifolds to ones of lower dimensions