title: Distribute 'items' in buckets equally (best effort)
body: <p>Say I want to distribute <code>y</code> items to <code>x</code> buckets evenly. If <code>x</code> is a multiple of <code>y</code> this distribution will be even, if not I can end up with <code>0</code> items in each bucket. For ex:</p>
  
  <p>For ex: I have <code>3</code> buckets and I want to distribute <code>2</code> items each. Since doing the division <code>(2/3)</code> will lead to <code>0</code> items per bucket. How can I achieve, a distribution of <code>1</code>, <code>1</code>, <code>0</code>?</p>