public static int findOneBitLeftPosition(int height, int x, int y) {
		x >>= height;
		y >>= height;
		int counter = height;
		while (x > 0 && y > 0) {
			if (x % 2 == 1 && y % 2 == 1) {
				return counter;
			} else {
				counter++;
				x >>= 1;
				y >>= 1;
			}
		}
		throw new IllegalArgumentException(
				"Cannot find the 1 bit on both x and y");
	}