Optimizing the performance of a high-granularity silicon-pad EM calorimeter. (20th June 2017)