Less calls to itemFromIndex