trapped the max/min number of components and vector