binTree mod