Prevent memory explosion in assembly