fix bug: wrong offsets counting
new test. small string tree. when it changed some garbage appear.