changed indice catch for rounding errors in topo_update