next step to optimize dOdF calculator in attempt to minimize memory usage