Optimization of weight of an offshore sub-structure