Finding bounding dimensions of dataset.