SB-10009: Resizing logic