FIX: added missing functions in bintree.h