Unique paths ii