Migrated the flatten by amount node.