Added distance checking to ellipse-line summary