Accelerating clustering algorithms with tree data structures | Synapse