A simple and robust thinning algorithm on cell complexes | Synapse