Fixed a bug caused by roundups. When converging the finite resolution could have caused a non-converging loop