Graphs with a given conditional diameter that maximize the Wiener index | Synapse