History optimization, should faster and better adapt