fix issues with pseudo 2D runs (interpolation surface is off the domain, array bound violation)