move intervals to MathTypes