speedup generating idplist for DS