Distributing work dependent on quantity to different locations