Fun with edit distances.