outputs averaged number of infected nodes but

there are negative numbers that not supposed to be