Add boosting, a optimization and calcuation methods