improved interval resolver