Reduce number of float operations
Added bilinear downscaling