Separated vectorized vector 2D creation with safe and non-safe versions and fixed an assertion