These point indices should be size_t rather than int so when you multipl...

...y them on systems where size_t is uint64_t, the result is of type uint64_t rather than int32_t.