The Optimal use of Segmentation for Sampling Calorimeters