Complex sentence: So moving to would be a bad idea, so the previous choice was good and algorithm terminates here (i.e. there is no change in the medoids).
Split into simpler sentences: So moving to would be a bad idea, so the previous choice was good. So the configuration does not change and algorithm terminates here (i.e. there is no change in the medoids).