Added measure of distance between intervals.