added "discontinuities" region option