This is more taken care of in update_neighbour_metric.
Attach a file by drag & drop or click to upload