Added resampling of volumetric potentials