SegmentConnector still broken, KDTree Bug fixed