ways from unwayed segments now automatically fix segment direction