public void resetBucketMap(int source){
		C= G.getCt();
		double x = (int)(Math.log(Math.sqrt(C))/Math.log(2))+0.0;
		Delta = (int)(Math.pow(2,x));
		Snum = 0;
		indexL = 0;
		dL = 0;
		indexK = 1;
		dK = Delta;
		lowLevelBuckets = new Bucket[Delta];
		numHigh = (int)(((C+1)/Delta))+1;
		highLevelBuckets = new AproxBucket[numHigh];
		Bucket st =new Bucket(G.getVertexByID(source), 0);
		lowLevelBuckets[0] = st;
		initializeBuckets();
		iH = -1;
		jH = -1;
		baseAproxBucket =  null;
		topAproxBucket = null;
	}