Adjusted popularity stars to avoid number wrapping