Optimization in Endgame

But I test still fail,I may change default to depth 8 later