use max int to out the array index