Bugfix: minimum total energy was calculated incorrectly when using volume source