timerange recalculation