Update segmental_tree.c