modified resizing values