refinements for xtree
added invalid area expander