Started implementing the backtrack tree size estimation code