Generalized binary operations into one node