Use arena allocator for optimizer temporary data structures