module for handling clustering based on estimated TR multiplicity