modify type to potentially apply reSampling with grid size <1 (and test ...

...adds)
maybe you can use an explicit rounding operator here... instead of a compiler cast.