added geometric tree builder