fix inifinite loop when rebalancing.
was trying to read more bytes from titlerec than
what it could support.