modified intercluster & rs_preprocess