optimize the rotation function and box Repulsion function.