Modify threshold from != to a small number >=\beta