only caculate the sum, didn`t get the path. Will be done next time.