add inserted segments to map in lod graph.  use the map to linearize segments in output hal.  still need another pass for homologies and parse index