Make use of islands_per_device argument

Signed-off-by: Eduardo L. Buratti <elb09@c3sl.ufpr.br>