Create swap nodes in pairs