working seed det with new limit on max_sigma