What is the meaning of the `3` here? Is that the threshold referred to by the comment? If so, shouldn't it be `THRESHOLD`?