Research on the Optimization Software of the Timber Scaling