Initial script for assembling long edges
lines accurately identified
update