Optimize rewrite a bit more; counting changes.