Please use `Py_ssize_t` or `np.npy_intp` for indices.

Sorry for being late to the party, I hadn't spotted the Cython code.