fixed edge distance logic started work on progress info