Optimization in force calculation etc.