Build class vector2