Improve index of simple array types