public synchronized void updateHistogram() {
		// System.out.println("quad is " + quad);
		if (fixHoles) {
			fixHoles = false;
			int cnt = 0;
			System.out.println("Hitting remaining pixels...");
			for (int i = 0; i < ximlen; i++) {
				for (int j = 0; j < yimlen; j++) {
					if (img_alpha[i][j] == 0) {
						int xi = (i % ximlen);
						double xf = (double) xi / (double) ximlen;
						double yf = (double) j / (double) yimlen;
						doCalculation(xf, yf, xi, j);
						cnt++;
					}
				}
			}

			System.out.println("Hitting remaining done: " + cnt);
		} else if (runtotal > pixels.length * 2) {
			;// offscreenImage = new BufferedImage(ximlen, yimlen,
				// BufferedImage.TYPE_INT_RGB);
		}

	}