without Erman+Smith's minimize1