Calocube - A highly segmented calorimeter for a space based experiment