Compensation and span of control in hierarchical organizations