Possible fix (use local variable for factor per node inside selection loop - line 197 probably could be moved out of the loop altogether).
Possible fix (use local variable for factor per node inside selection loop - line 197 probably could be moved out of the loop altogether).