Initialize costSum to 0. Otherwise it is possible to get undefined behavior.
Initialize costSum to 0. Otherwise it is possible to get undefined behavior.

Christof/voly-labeller,Christof/voly-labeller,Christof/voly-labeller,Christof/voly-labeller