Fix. Set current size/rows for reuse log only if needed.
Add. Some tests.