Made all edges bi-directional.