added >=5/N stop constraint