Threshold and max lines