These two functions calculate the min/max threshold transition which is a _target_ not a "difficulty" number. Using "difficulty" in the function name is unnecessarily confusing. Rename and deprecate the functions.