save as binary opt result