Finish maxsub tree