I didn't even know this existed. Very handy.
http://r4ds.cn/download/r4_rom_trim_tool.html
It basically deletes unused space since every (legal) DS rom is at a fixed amount depending on the (totally legal) cartridge size, which saves lots of room on your micro SD card.