fix calculation of euler tour