Reduced dynamic memory allocations