Defines min and max global cluster sizes.

Added calculation of the min/max global cluster sizes.
Tested on dummy and Wolf's surfaces.

Note: on some surfaces (dummy, 1k) the results coincide with Wolf's.
For 256, 4k min/max values coincide, but my code gives larger number of
clusters. Perhaps because we handle the checkerboard differently.