Fixed tc_limit calculation.