return joiner.getSumOfWeights();
return 1;
    static int getJoinerNumWork (SIRJoiner joiner) {	// have as many work functions as there are weights, making	// sure to have at least 1 work function	int sum = joiner.getSumOfWeights();	if (sum==0) {	    return joiner.getSumOfWeights();	} else {	    return sum;	}    }