Perimeter of an ascent sequence | Synapse