Add nodeArithmetic for aliasByNode and groupByNodes