Fixed bugs in the sums filling with zeros. Added thresholds for HT and MHT