Do you think such resizing would be useful?
Note that it may result in document tree nodes being split/merged.