Improve resizing #67