<div dir="ltr">Instead of always having INT_MAX as the upper bound,<br>use an all-ones bit vector whose MSB is the same as<br>the largest value across both ranges.<br></div>