Factors Influencing Legal Structure