support for test threshold simulation on EPFL alg