search in tree enhancement