remove unused var
rescale images from unitsync to a max resolution of 512x512 to keep images small