check min_loop early