Add optimal position.
fix optimal
change the posibility of prob cache.
prepare to push
send to github