moved setMaxIterations() into zoomImage()