BTreeData: also check truncate(0)