Backup and restore stack slack space after injection