Add unique paths II