Added 50K seed limit to force termination