new way to compute deterministic opt
with factor of safety results