Design of Supply networks with optimized safety stock levels