public Similarities(String[] urls, int k, int b, HashFunction func) {
    	this.urls = urls;
    	this.hashFunc = func;
    	this.k = k;
    	
    	if (b <= 0 || b > 16)
    		throw new AssertionError("hyperLogLog :  b <= 0 or b > 16");
    	this.b = b;
    	
    	initialize();
    }