Optimizing connected component labeling algorithms | Synapse