change resolution max > 32 bits