The main idea is that I want a big buffer storage, so the input and the output is the same, and each column of chests (and inserter hands) contains roughly the same amount of stuff) but its not smooth
Columns are connected with red wires, inserters are all in read hand (hold) mode, the arithmetic units on the lefts just converts each columns contents to a signal 0-7, the left-most units then adds the signals into pairs ( 0,1 to D; 2,3 to E; 4,5 to F; 6,7 to G) then the top row of inserters are set that the first two works when the signal D is positive, the second two when signal E is bigger than D and so on. (I tried it without pairing the signals too but no luck)
Can somebody check it? Or maybe the whole concept is bad?
Here's is the bp string (0.15.5): (the bottom line of inserters and the divider arithmetic unit on the right has to be set to the specific item you want to store, currently stone)
https://pastebin.com/SXGTZguL
EDIT:
Managed to finish it, working perfectly. And made a post about it here: viewtopic.php?f=8&t=45855