Change the indexing type to long