fix save when too much free space has to be wasted

(untested)