eliminate vector-related allocations