indices now use ulong int to allow bigger networks