bug fix: wrap-around

If straw was the last number, taking the modulus would assign it to the
first slave instead of the last