implement new recursive method to find nodes that don't need stage numbers; fix verfiyLegalStageColoring for verilog backend generated node graphs