change platte,origin algotithm work well