added interval with max steps