When adding a bunch of tools like libreoffice and a few Github-repos such as Ghidra the size seems to be to big somehow, so I can't build a custom ISO.

How can I fix this error? Error below:

Code:
Drive current: -outdev 'stdio:live-image-amd64.hybrid.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 4023m free
xorriso : NOTE : -as mkisofs: Ignored option '-cache-inodes'
xorriso : WARNING : -volid text problematic as automatic mount point name
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
Added to ISO image: directory '/'='/binary'
xorriso : UPDATE :     754 files added in 1 seconds
xorriso : UPDATE :     754 files added in 1 seconds
xorriso : NOTE : Copying to System Area: 432 bytes from file '/usr/lib/ISOLINUX/isohdpfx.bin'
libisofs: NOTE : Automatically adjusted MBR geometry to 1018/160/63
libisofs: NOTE : Aligned image size to cylinder size by 853 blocks
xorriso : FAILURE : Image size 2565878s exceeds free space on media 2060000s
libisofs: MISHAP : Image write cancelled
xorriso : NOTE : -return_with SORRY 32 triggered by problem severity FAILURE
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists...
Building dependency tree...
Reading state information...
Build of kali-rolling/large/amd64 live image failed (see build.log for details)