Fast algorithm for ring perception | Synapse