Apparently foreach cause a LOT of allocations. This fixes half of the allocation issue (and GL_CONCURRENT pretty much disappeared).