Get rid of redundant variables like rmin, rmax, ..

Also initialize hc_params correctly