Step 4 of the work flow: vectorization