Moved break until after minIntervalDistance has been calculated.