Changed edge numbering scheme