improvements (simplification) to minimization