change jbod allocation to use modulo

more stable when things are changing in a running system.