check if new size > old size before change size