Finish vectorize code.