more minimization tuning
further tuning and code hooks to allow single variable at a time optimization