* Set distance model to fix issue #123