fix problem of when to add Synapses to Segments still need to fix issue #80