Fixed hill_density for replicas and turned off lots of debug code