update maxsize and resize process
Merge remote-tracking branch 'origin/master'