store size for resizing