add 24points algorithm OK