Vectorize stack