eliminate an extraneous use of SmallVector in a case where