ON THE COMPACTNESS OF MANIFOLDS