added a distance-function and it iterates somewhat. Is slow though.