Now individ handles generic stack and two stacks for input graphs.