Classes of nonrigid Carnot groups