A relation between the current density at threshold and the length of Fabry-Perot type GaAs lasers