Wrapped up algorithm for maximum independent sets in the planner