more defensive approach leaving rand()
more defensive approach leaving rand()

tjrileywisc/annoy,subu-cliqz/annoy,eddelbuettel/annoy,pombredanne/annoy,LongbinChen/annoy,spotify/annoy,LongbinChen/annoy2,BeifeiZhou/annoy,pombredanne/annoy,spotify/annoy,spotify/annoy,eddelbuettel/annoy,spotify/annoy,codeaudit/annoy,LongbinChen/annoy2,Houzz/annoy2,guitarmind/annoy,subu-cliqz/annoy,Houzz/annoy2,eddelbuettel/annoy,subu-cliqz/annoy,pombredanne/annoy,subu-cliqz/annoy,pombredanne/annoy,eddelbuettel/annoy,guitarmind/annoy,LongbinChen/annoy,tjrileywisc/annoy,codeaudit/annoy,tjrileywisc/annoy,BeifeiZhou/annoy,tjrileywisc/annoy,guitarmind/annoy,LongbinChen/annoy,BeifeiZhou/annoy,Houzz/annoy2,LongbinChen/annoy2,codeaudit/annoy