public static F1<Integer, Integer> disF(final F1<Range, Integer> distanceF,
			final RandomAccessCol<Range> col) {
		F1<Integer,Integer> disF = new F1<Integer, Integer>() {public Integer e(Integer index) {
			return distanceF.e(col.get(index));
		}};
		return disF;
	}