interval to riemann in config