move applymap to stl_vector_tools