Added MaxMinDistances as attributes to frequency array