for width 1024 and max of 1024