Entry<Integer, TreeNode> tmpTreeNode = treeNodeIterator.next();
localTodoNodes.put(tmpTreeNode.getKey(), tmpTreeNode.getValue());
localStatistics.put(tmpTreeNode.getKey(), statistics.get(tmpTreeNode.getKey()));
modeNodeNumber -= 1;
}
<BUG>LOG.info("thread {} todo size {} stats size {} ", i, localTodoNodes.size(), localStatistics.size());
</BUG>
if(localTodoNodes.size() == 0) {
continue;
}

Entry<Integer, TreeNode> tmpTreeNode = treeNodeIterator.next();
localTodoNodes.put(tmpTreeNode.getKey(), tmpTreeNode.getValue());
localStatistics.put(tmpTreeNode.getKey(), statistics.get(tmpTreeNode.getKey()));
}
if(modeNodeNumber > 0) {
Entry<Integer, TreeNode> tmpTreeNode = treeNodeIterator.next();
localTodoNodes.put(tmpTreeNode.getKey(), tmpTreeNode.getValue());
localStatistics.put(tmpTreeNode.getKey(), statistics.get(tmpTreeNode.getKey()));
modeNodeNumber -= 1;
}
LOG.info("Thread {} todo size {} stats size {} ", i, localTodoNodes.size(), localStatistics.size());
if(localTodoNodes.size() == 0) {
continue;
}
