Segment bisector calculator