Algorithm 888 | Synapse