Added assertion of positive distances between markers.