c3_fmt: changed cost #2 computation