Minimize dmd diff