Unique path with obstacle