Optimal Clustering in Bayesian Capital Asset Pricing Model