!!!! WARNING: Cutting or modifying the foam can SEVERELY degrade the safety function of the helmet in ways it might not be possible to predict!!!!
OK, that warning aside, I do wonder how much a big deal it is...
Depends on what foam you cut. It you just cut the soft foam, it's no big deal, as that's only there for comfort anyway. It's the real hard foam that saves your braincase.