Only computing new size on iteration