getItemIds(int startIndex, int numberOfItems) optimized