Constraining all possible Korteweg–de Vries type hierarchies | Synapse