which increases as the two models differ. If D k grows over a threshold D thr (D thr = 23.928 according to Ref. ) then the densities of i and j cannot be considered constant. As such, PAk selects an appropriate k value by iteratively calculating D k to increasing values of k until the threshold is passed.