Update to change the demo for the Leaf algorithm to only determin the MIS in the last step