Please check the Wang's POS algorithm. The result was too bad. 