segmentation: calculateTotalSignalStrength bug fix