implemented dynamic reevaluation of KL chain