Added section to implement static scale for large data sets, based on a minimum of maximums algorithm.