Fix 4x dynamic engine workspace overallocation (#4503)