calculate Halstead sums as means dont make much sense