Reduce number of allocations per frame