Update binary_edge.m