switch from std::pair to FT_Vector