Create generate_wdist.do