Adjusted seed function for <0 cases.