summit min edit Distance