Simple downsample package that works on max and min.