Agent-based stochastic production lines design