added global energy minimization