Add editdist limiter