Refer to google docs-> SJF incomplete also produces incorrect results