Estimation of the optimal distribution of the fibers in carbon/carbon composite