finish bistree.c