compute 'candidateness' of cells in DistanceToleranceFunction on the fly
added headless option to edit_distance
speedup of relabel alternative search in DistanceToleranceFunction