Fixed GDT/LDT limit calculation