vector-algorithms DONE