pub fn bagging_peaks_hashes<T, M: Merge<Item = T>>(
    peaks_hashes: Vec<T>
) -> Result<T>