There may be ways to use arrays as opposed to vectors. Reduced memory management overhead on caller side?