After many hours of tweaking and tinkering, I think I managed the most compact foundry possible that can process a full two lanes mineral belt.
The main problem is the electric alimentation of the inserters, since a two lanes mineral belt mean you need a second belt of coal, and that leave no place for electric poles.