new algo for computing mmol