support instance resizing too