Got rescaling to work, contours are now on correct scale but choke up the cpu