add code to convert between differently sized vectors in the geometry adaptor