tree: add epsilon to var to prevent div-by-0
anneal: more comments and docs
tree hacking