tdb2: careful on wrap.