setting a good range for the output images