resizing of trunks