`device_ids[index:index + step]`