Experiments with adding max to pixel count.