Small bug resolving and better algorithms generated.