private static int compareInts(long[] first, long[] second) {
		int i;
		if (second.length > first.length) {
			for (i = second.length - 1; i >= first.length; i--) {
				if (second[i] != 0) {
					return -1;
				}
			}
		}
		else {
			for (i = first.length - 1; i >= second.length; i--) {
				if (first[i] != 0) {
					return 1;
				}
			}
		}
		for (; i >= 0; i--) {
			long diff = first[i] - second[i];
			if (diff > 0) {
				return 1;
			}
			if (diff < 0) {
				return -1;
			}
		}
		
		return 0;
	}