Added tracking of maximum and minimum to bin_dimensions.c