add some function for CuttingBoxTool