add parallelism (OpenMP) to rs_cluster; fixed a bug