In BSMath add comments about maximum input value and in comments calculate approximate maximum value. In BSMathTests add testTriangleNumberAlmostTooBig