*fixed bugg to dublicate all edges