updates math.norm condition