Add clustering using cellular automaton, LHCb-style