update Pipe weight recalculation 

Pipe weight change method for recalculation #608