Tree label is now updated when the computation is finished. (#21)