change from max/min to variance for evaluating whether to dynamically change
the baseline for a key.  should be way more efficient, but need to test to
determine good values to use.