search height should be strictly less than next exponent to test
fix bug where previous output was used