Improve resizing alltogether.