Optimization of buffer allocations in flow lines with limited supply. (4th March 2018)