Added support for resolutions up to x*2400