change the varname leftmost to rightmost in the function node_heap_increase ,eliminate the confusion i made by copy paste the function node_head_decrease