fix build

Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
remove broken scaling code

Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>