bugfixes and compatibility with bidirectional fibers
initial implement, non-coupling
for compatibility with nsim changes for bidirect