Change all array-indices to uint