Corrected non-empty did error
Changed minseedsize to seed size buffer
Moved unexpected error block