optimize resizing; preload more