Simplify hb_in_range() It's both faster and produces smaller code. Now I feel stupid for not writing it this way before.