Correct AT adjustment calculation algorithm