Resizing handled better