Micro optimisation - compute the static time ranges once