The clustering algorithm discussed in this chapter is designed to facilitate the study of optimal cluster size in the PIBETA calorimeter, for single particle final states in the 44-crystal array. More specifically, for each event, only the relevant crystal ADC values should be accepted and summed. The best cluster size for events resulting in single particle final states is determined by optimizing the following three quantities: