improve the performance of calculating bulk delta f