pass nodeDefs to CalcPlan