Don't pass max_constraints and min_constraints to Vector as these information is contained inside constraints
Calculate degree of a vector based on the size of its constraints