extend_vectors as a method in GlobalConstraint