adjust params for clustering