stop using dynamic allocation for 2-dimensional vectors