added edge worm algorithmus prototype