Two segments adjacent by ray number can still be metres apart - measured in Gazebo, where a cradle was fused with the wall two rays behind it and fitted as a 3.2 m circle. The key belongs at or below line_extraction's max_line_gap. The tuning in the detect block stays out of this commit; it is someone else's in-flight work on the same file.