refactor(edit) mv setSize to diff