change Get Rid of Max and Min per judge