The stochastic finite segment in the analysis of the shear-lag effect on box-girders