Add a small threshold on the conditional sampling in order to prevent
spurious noise around the edges