Avoid creating/destroying vector.  Ref #3494.