added mean-shift for posterier mode search