Finite Type of Compact Manifolds