vectorize a bit