Electrochemical self-optimization for the synthesis of densely functionalized molecules | Synapse