MSP: Pass path weights by reference
MSP: Pass edge weights by reference