fixed & introduced a bug. rescale parameters shall now be pixel values, not multiplicators (to enable downscaling to every resolution). however, margin has to be set to 0.