Factors determining capital structure of a firm