Merge the solution of the BUG(remove polygon one by one)