Synchronization of signal packets is required in networks in order to route
the packets. Due to changes in the interarrival times of the packets the i
nputs to the routing circuits may exhibit oscillatory metastability. Oscill
atory metastability can be eliminated in optical circuits by the addition o
f logic signal stretch. This can be done because the propagation time of op
tics can be precisely controlled. An algorithm for inserting logic signal s
tretch to eliminate oscillatory metastability is presented herein.