update sample
calculate the optimal factor
Merge tag 'v0.3.1' into production

Right tag cloud size