Changed to lottery scheduling