vectorFromTo helper