#44 remove unique_ptr from vec2 functions