Added reference function bref to binary-tree, may be able to update
hdf-table-chain to use reference function