vectorize violation