removed vector_map, as it is way too slow