generate Vector with smaller size