forgot Config.max_loopinv