Use unsigned ints for indices.