Then raise it by a bigger amount. That's why I said 2n - so you can try 4 or 8 or 16.....you just need a value that gives less than capacity so you can try the midpoint, and repeat.
Then raise it by a bigger amount. That's why I said 2n - so you can try 4 or 8 or 16.....you just need a value that gives less than capacity so you can try the midpoint, and repeat.