Fix formula for oahi3 and oahi4