Avoid multiple allocations