one agent traverses his paths, sequential version