Fitting multiple heterogeneous models by multi-class cascaded t-linkage