Modularization for hydrocarbon pipelines in Africa