Simplified calculation of thresh