reduce vector number