private double getHeightScalingConstant(){
    	double s = 0.0;
    	if(!maxWeightMap.isEmpty() && !davidAvgGVC){
			for(Map.Entry<String, Double> entry : maxWeightMap.entrySet()){
    			s += entry.getValue();
        	}
		} else if (!averageAttributeWeights.isEmpty() && davidAvgGVC) {
            for (Map.Entry<String, Double> entry : averageAttributeWeights.entrySet()) {
                s += entry.getValue();
            }
		}
    	return s;
    }