send the vector outside the loop

Link: https://github.com/GeneAssembly/biosal/issues/610
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>