moved edit-distance to dp dir