private boolean countSplitBalancePerBitA(CharSequence[] values, int filterMaskForLen, int filterCheckForLen,
int[] charSeeds, int charSeedsDepth, int charSeedsFilter, int[] countSpace, int mixBits, int sigBits) {
Arrays.fill(countSpace, 0);
int i = values.length;
int maxTotal = 0;
int commonLength = -1;
boolean allSame = true;
while (--i >= 0) {
CharSequence value = values[i];
int length = value.length();
if (filterCheckForLen == (filterMaskForLen&length)) {
if (commonLength<0) {
commonLength=length;
} else {
allSame &= (commonLength==length);
}
maxTotal++;
sumEachBit(filterMaskForLen, countSpace, length, countSpace.length-1);
}
}
countSpace[countSpace.length-1] = maxTotal;
return !allSame;
}