Update mark limit and buffer size in ImageResizer