Parse thresholds