factors affecting total output