fixed bug in euler tour tree cut