Structural optimisation of discontinuous carbon fibre composites