changing branches nothing done, really
implemented stoping criteria, include SZ and seed option