added prior parameters for balanced network case