[+] Set the costs for the paths in p2