Improve performance by limiting the number of vectors created.