Using floats in connectOverlappingSegments