modify vash

add uniform prior option, fix bugs, speed up